home *** CD-ROM | disk | FTP | other *** search
/ Nejlepší hry / Nejlepsi hry.iso / hry / 6zenichu / 6+1 install_txt.exe / 6 zenichu a 1 navic.exe / scripts / DefineButton2_3305 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2003-11-28  |  855 b   |  34 lines

  1. on(release){
  2.    if(_root.draglej == 13)
  3.    {
  4.       _root.z_18_2.start();
  5.       _root.i13.gotoAndStop(_root.o2);
  6.       _root.ob2.gotoAndStop(_root.ii13);
  7.       _root.ii13 = _root.i13._currentframe;
  8.       _root.o2 = _root.ob2._currentframe;
  9.       _root.stopdragall();
  10.    }
  11.    else if(0 < _root.draglej)
  12.    {
  13.       if(eval("_root.mon_002_i" add _root.draglej add "_100") == undefined)
  14.       {
  15.          _root.d_venca.l = "mon_002_iundef_100";
  16.          _root.d_venca.i = "go";
  17.       }
  18.       else
  19.       {
  20.          _root.d_venca.l = "mon_002_i" add _root.draglej add "_100";
  21.          _root.d_venca.i = "go";
  22.       }
  23.       _root.stopdragall();
  24.       _root.hideall();
  25.    }
  26.    else
  27.    {
  28.       _root.d_venca.l = "mon_01" add _root.o2 add "_100";
  29.       _root.d_venca.i = "go";
  30.       _root.stopdragall();
  31.       _root.hideall();
  32.    }
  33. }
  34.